package com.itlong.cloud.POJO.DTO.property;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <desc>
 *      查询已入住的App用户信息数据传输对象(后端返回给前端)
 * </desc>
 *
 * @createDate 2017/09/25
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CheckAppUserInfoDTO extends BaseDTO implements Serializable{
    private String realName;        //用户姓名
    private String phoneNum;    //用户手机号
    private List<AppUserRoomDetailsDTO> appUserRoomDetailsDTOS;     //App用户详情页相关房屋数据传输对象

    public CheckAppUserInfoDTO(
            String realName, String phoneNum, List<AppUserRoomDetailsDTO> appUserRoomDetailsDTOS) {
        this.realName = realName;
        this.phoneNum = phoneNum;
        this.appUserRoomDetailsDTOS = appUserRoomDetailsDTOS;
    }
}
